<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@page import="java.util.*"%>
<%@page import="dyyx.util.*"%>

<%

Set<String> names =  ConfigUtil.getValueAsSet("jmxs");
if(names==null){
	names = new LinkedHashSet<String>();
}


%>


<form name=form1 method=post method=post action="/result.jsp">

<input type='hidden' name="type" >

<select name="name"> 
<option></option>
<%for(String name:names){ %>
  <option><%=name %></option>
<%} %>

</select>

<br>

<input type=text name="q" style='width:300px'>

<br>
<input type=button value="info" onclick="f_info()">

<input type=button value="query" onclick="f_query()">

<input type=button value="mbean" onclick="f_mbean()">


<input type=button value="reset" onclick="f_reset()">




</form>

<script>
function f_query(){
	form1.type.value = "jmxquery";
	// alert("reset,"+form1.type.value);
	form1.submit();
}

function f_mbean(){
	form1.type.value = "jmxmbean";
	// alert("reset,"+form1.type.value);
	form1.submit();
}

function f_info(){
	form1.type.value = "jmxinfo";
	form1.submit();

}

function f_reset(){
	form1.type.value = "jmxreset";
	form1.submit();

}




</script>





